package com.example.springcloud.vo;

import com.example.springcloud.domain.Comments;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author lmy
 * @date 2025/2/18 10:50
 */
@Data
@ApiModel(value="CommentsVo对象", description="种草文章评论数据对象")
public class CommentsVo implements Serializable {



    private static final long serialVersionUID = 1L;

    /** 种草ID */
    @ApiModelProperty(value = "头像")
    private String avatar;

    /** 关联用户ID */
    @ApiModelProperty(value = "用户名称")
    private String authorName;

    /** 评论内容 */
    @ApiModelProperty(value = "评论内容")
    private String content;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "评论时间")
    private Date time;




}